import {IncomingMessage} from "http";
import {postFileInfo} from "./postFileInfo";

/**
 * 扩展 IncomingMessage 以加入 query 、pathName等内容；
 */
interface parsedRequest extends IncomingMessage
{
    pathName: string;
    query: object;
    postFiles: postFileInfo[];
    postFields: any;
    cookie:any;
}

export {parsedRequest}